//package com.example.controller.service;
//
//import com.alibaba.fastjson.JSON;
//import com.example.model.Order;
//import lombok.extern.slf4j.Slf4j;
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.apache.rocketmq.spring.core.RocketMQListener;
//import org.springframework.stereotype.Service;
//
//@Slf4j
//@Service
////@RocketMQMessageListener(consumerGroup = "boot-user", topic = "test-topic-1")
//public class MessageTypeService implements RocketMQListener<Object> {
//    @Override
//    public void onMessage(Object order) {
//        log.info("收到一个订单信息{},接下来发送短信", JSON.toJSONString(order));
//    }
//}
